Suspend uploading to transfer.sh. Sites refer to it as "now broken" and
authorRobert Lipe <robertlipe@gpsbabel.org>
Mon, 16 Mar 2020 10:06:27 +0000 (05:06 -0500)
committerRobert Lipe <robertlipe@gpsbabel.org>
Mon, 16 Mar 2020 10:06:27 +0000 (05:06 -0500)
"pending sale". My own testing shows that it saturates all the sockets for
a connection and dies with zero bytes transferred. Build server is about the
same.

This is a mechanical side-port of 33085422627563885c59e60d47d1c9085f48e9a4
which went to the trunk instead of the branch, wheree it'sn needed. Same code

tools/uploadtool/upload.sh

index f3995503893567b030d6963ab80306cb065b12e7..771cc161e692464a13f2f0ef09333519e1b4c82b 100755 (executable)
@@ -51,6 +51,10 @@ if [ "$TRAVIS_EVENT_TYPE" == "pull_request" ] ; then
   rm -f ./uploaded-to
   for FILE in "$@" ; do
     BASENAME="$(basename "${FILE}")"
+
+    echo "Uploading $BASENAME to upload.sh has been suspended as o 03/16 -- rjl"
+    break
+
     curl --upload-file $FILE "https://transfer.sh/$BASENAME" > ./one-upload
     echo "$(cat ./one-upload)" # this way we get a newline
     echo -n "$(cat ./one-upload)\\n" >> ./uploaded-to # this way we get a \n but no newline